﻿@using DreamStore.WebShop.ViewModels
@{
    var signup = (SignupViewModel)Model.Signup;
}
 
<h2>@T("New customer")</h2>
<p>@T("Please fill out the form below")</p>
 
@Html.ValidationSummary()
 
@using (Html.BeginFormAntiForgeryPost(Url.Action("Signup", "Checkout", new { area = "DreamStore.WebShop" }))) {
    
    <article class="form">
            
        <fieldset>
            <ul>
                <li>@Html.EditorFor(m => signup.Title)</li>
                <li>@Html.EditorFor(m => signup.FirstName)</li>
                <li>@Html.EditorFor(m => signup.LastName)</li>
            
            </ul>
        </fieldset>
    
        <fieldset>
            <ul>
                <li>@Html.EditorFor(m => signup.Email)</li>
                <li>@Html.EditorFor(m => signup.Password)</li>
                <li>@Html.EditorFor(m => signup.RepeatPassword)</li>
            </ul>
        </fieldset>
    
        <fieldset>
            <ul>
                <li>@Html.EditorFor(m => signup.ReceiveNewsletter)</li>
                <li>@Html.EditorFor(m => signup.AcceptTerms)</li>
            </ul>
        </fieldset>
    
        <footer class="commands">
            <ul>
                <li class="align left"><a href="http://91.144.247.230/">@T("Cancel")</a></li>
                <li class="align right"><button type="submit">@T("Next")</button></li>
            </ul>
        </footer>
    
    </article>
}